package com.wzh.glsc.product.feign;

import com.wzh.common.to.es.SkuEsModel;
import com.wzh.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@FeignClient("glsc-search")
public interface ElasticSaveFeignService {

    @RequestMapping("/search/save/product/up")
    public R productStatusUp(@RequestBody List<SkuEsModel> skuEsModels);
}
